home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / Darts(301).dxr / Generic GFX_7_game end statistics.ls < prev    next >
Encoding:
Text File  |  2002-01-25  |  681 b   |  26 lines

  1. global gCurrentScore
  2.  
  3. on beginSprite me
  4.   xtc = gCurrentScore
  5.   member("total score").text = "Total Score:" && string(gCurrentScore) && "pts"
  6.   if (xtc >= 200) and (xtc <= 301) then
  7.     puppetSound(5, "lose")
  8.     member("job done").text = "Not Bad!"
  9.   else
  10.     if (xtc >= 100) and (xtc <= 199) then
  11.       puppetSound(5, "lose")
  12.       member("job done").text = "Pretty Good!"
  13.     else
  14.       if (xtc >= 30) and (xtc <= 99) then
  15.         puppetSound(5, "win")
  16.         member("job done").text = "Great Job!"
  17.       else
  18.         if xtc <= 29 then
  19.           puppetSound(5, "win")
  20.           member("job done").text = "Excellent Showing!"
  21.         end if
  22.       end if
  23.     end if
  24.   end if
  25. end
  26.